
<%@ page contentType="text/html;charset=UTF-8" %>
<html>
<head>
  <title>商品添加</title>
</head>
<body>
<h2>商品添加表单</h2>
<form action="AddGoodsServlet" method="post" enctype="multipart/form-data">
  商品名: <input type="text" name="name" required><br>
  商品价格: <input type="number" step="0.01" name="price" required><br>
  商品数量: <input type="number" name="num" required><br>
  商品图片: <input type="file" name="image" required><br>
  <input type="submit" value="提交">
</form>
</body>
</html>